Python Dictionary, Defaultdict, And Counter Tricks